Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Upgrading section to README.md #598

Merged
merged 6 commits into from
Sep 6, 2023

Conversation

mig4ng
Copy link
Contributor

@mig4ng mig4ng commented Aug 4, 2023

Description

Add section on upgrading Nix, as discussed in #596.

Checklist
  • Formatted with cargo fmt
  • Built with nix build
  • Ran flake checks with nix flake check
  • Added or updated relevant tests (leave unchecked if not applicable)
  • Added or updated relevant documentation (leave unchecked if not applicable)
  • Linked to related issues (leave unchecked if not applicable)
Validating with install.determinate.systems

If a maintainer has added the upload to s3 label to this PR, it will become available for installation via install.determinate.systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/$PR_NUMBER | sh -s -- install

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Remove note.
Add explanation of which version will be installed.
README.md Outdated
sudo nix upgrade-nix
```

Alternatively, you can [uninstall](#uninstalling) and [reinstall](#usage). This method will install the version which was pinned in `src/settings.rs` at the time of compilation of the nix-installer.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Hoverbear @cole-h
I added a bit more information on which version will be installed on the second method. Feel free to suggest removing it if it is too much information for the README.

@mig4ng mig4ng mentioned this pull request Aug 8, 2023
@Hoverbear Hoverbear enabled auto-merge (squash) September 6, 2023 16:36
@Hoverbear Hoverbear disabled auto-merge September 6, 2023 18:20
@Hoverbear Hoverbear merged commit 34d0b7e into DeterminateSystems:main Sep 6, 2023
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants